package com.niiwoo.civet.account.dto;

import com.niiwoo.civet.account.enums.WithdrawBusinessTypeEnum;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 放款提现请求localService参数封装对象
 * Created by wangjichao on 2017/12/21.
 */
@Getter
@Setter
public class SubmitLoanWithdrawRequestDTO {

    /**
     * 提现业务类型
     */
    private WithdrawBusinessTypeEnum businessType;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 因机构急速借需求，必须传递ACCOUNTID
     */
    private Long accountId;

    /**
     * 提现金额
     */
    private BigDecimal amount;

    /**
     * 垫资金额
     */
    private BigDecimal advanceAmount;

    /**
     * 提现手续费率
     */
    private BigDecimal withdrawFeeRate;

    /**
     * 最大提现手续费
     */
    private BigDecimal maxWithdrawFee;
    
    /**
     * 提现服务费收取类型:1：借款人、2：机构、3：你我金融；只对1,3做处理
     */
    private Byte feePaymentUserType = 1;

    /**
     * 用户注册手机号(解密后的)
     */
    private String mobileNo;
}
